﻿using GPS.DataAccessLayer;
using PagedList;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GPS.ENTITYS
{
    public class ViewModelDKH_DD
    {
        public int? Page { get; set; }
        public string pDVGTVT_MA { get; set; }
        public string pKH_MA { get; set; }
        public string pKH_LOP_MA { get; set; }
        public string pHV_MA { get; set; }
        public string pHV_HOTEN { get; set; }
        public string pHV_CMND { get; set; }
        public string pHV_GIAIDOAN_MA { get; set; }
        public Nullable<System.DateTime> pHV_NGAY_DD_TU { get; set; }
        public Nullable<System.DateTime> pHV_NGAY_DD_DEN { get; set; }
        public IPagedList<ViewDKH_DD> SearchResults { get; set; }

    }

    public class ViewDKH_DD
    {
        public decimal? DKH_DD_ID { get; set; }

        public string DKH_DD_COHOC { get; set; }
        public string DKH_DD_GIAIDOAN_MA { get; set; }


        [DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}", ApplyFormatInEditMode = true)]
        public DateTime? DKH_DD_NGAYDD { get; set; }


        public string DKH_DD_DVGTVT_MA { get; set; }
        public string DKH_DD_KH_MA { get; set; }

        public string DKH_DD_HV_HANGDT_MA { get; set; }
        public string DKH_DD_HV_MA { get; set; }
        public string DKH_DD_HV_TEN { get; set; }
        public string DKH_DD_HV_DVGTVT_TEN { get; set; }
        public string DKH_DD_HV_GIOITINH { get; set; }
        public string DKH_DD_HV_NGAYSINH { get; set; }

         public string DKH_DD_TGRA { get; set; }

         public string DKH_DD_TGVAO { get; set; }

      

    }
}
